package com.cin.cma.common.model.finixx.request;

import com.cin.cma.common.model.finixx.base.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ConsumeRollbackRequest extends BaseRequest {
    private String cardLocationCd;
    private String cardFacadeCd;
    private List<String> bookingIds;
    private String userId;
    private String bookingIdList;

    public String getBookingIdList() {
        String text = "";
        if (this.bookingIds != null) {
            for (String current : bookingIds) {
                text += current;
            }
        }
        return text;
    }
}
